package game.adm.entity;

import game.adm.dao.BetTypeDAO;
import game.adm.dao.dto.BetTypeDTO;
import game.adm.dao.factory.BetTypeFactory;

import java.util.List;

import projectx.core.base.ProjectXSystemException;
import projectx.core.base.ProjectXUserException;

public class BetTypeEntityManager {
	public static List<BetTypeDTO> listAll() throws ProjectXSystemException,ProjectXUserException {
		BetTypeFactory factory = BetTypeFactory.getFactory();
		BetTypeDAO dao = factory.getBetTypeDAO();
		return dao.listAll();
	}
}
